package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * test_item对象 test_item
 * 
 * @author ruoyi
 * @date 2022-09-27
 */
public class TestItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目id */
    @Excel(name = "项目id")
    private Long itemId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String itemName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户名称 */
    private String userName = null;

    /** 项目信息 */
    @Excel(name = "项目信息")
    private String itemInfo;

    /** 项目日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date itemDate;

    /** test_plan信息 */
    private List<TestPlan> testPlanList;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setItemInfo(String itemInfo) 
    {
        this.itemInfo = itemInfo;
    }

    public String getItemInfo() 
    {
        return itemInfo;
    }
    public void setItemDate(Date itemDate) 
    {
        this.itemDate = itemDate;
    }

    public Date getItemDate() 
    {
        return itemDate;
    }

    public List<TestPlan> getTestPlanList()
    {
        return testPlanList;
    }

    public void setTestPlanList(List<TestPlan> testPlanList)
    {
        this.testPlanList = testPlanList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("itemInfo", getItemInfo())
            .append("itemDate", getItemDate())
            .append("testPlanList", getTestPlanList())
            .toString();
    }
}
